package com.awspaas.user.apps.publicservice.bean;

import com.actionsoft.bpms.api.common.ApiResponse;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Title: Response
 * @Package com.awspaas.user.apps.publicservice.bean
 * @Description:
 * @Author wanglx
 * @Date 2022/8/1
 */

@XmlRootElement
public class Response extends ApiResponse {

    private String code;// 返回状态码
    private String desc;// 返回描述
    private ResponseData data;// 返回数据

    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public ResponseData getData() {
        return data;
    }
    public void setData(ResponseData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Response{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                ", data=" + data +
                '}';
    }
}